package com.crm.sys.model;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/** 
Create Table

CREATE TABLE `crm_configure` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) DEFAULT NULL COMMENT '配置项名称',
  `code` varchar(100) DEFAULT NULL COMMENT '配置项CODE',
  `state` int(11) DEFAULT NULL COMMENT '状态',
  `createdate` datetime DEFAULT NULL COMMENT '创建时间',
  `createuser` varchar(20) DEFAULT NULL COMMENT '创建人',
  `updatedate` datetime DEFAULT NULL COMMENT '修改时间',
  `updateuser` varchar(20) DEFAULT NULL COMMENT '修改人',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='系统配置表'
*/
public class Configure  extends BaseModel {
 
	/**
	 * 
	 */
	private static final long serialVersionUID = 743758686709577634L;
	private String name;
	private String code;
	private Integer state; 
	private List<ConfigureItem> item;
	private Integer isdel;

 
	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setCode(String code){
		this.code=code;
	}
	public String getCode(){
		return code;
	}
	public void setState(Integer state){
		this.state=state;
	}
	public Integer getState(){
		return state;
	}
	 
	public List<ConfigureItem> getItem() {
		return item;
	}
	public void setItem(List<ConfigureItem> item) {
		this.item = item;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	public Integer getIsdel() {
		return isdel;
	}
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
}

